package com.econ.powercloud.ems.pojo.requestVO;

/**
 * @author hcx
 * @since 2023/7/10 14:54
 **/

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @ Description: 挂牌下发请求VO类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ListingAskRequestVO {

    @ApiModelProperty(value = "did")
    @NotBlank(message = "did不能为空")
    private String did;

    @ApiModelProperty(value = "挂牌类型,12:检修,13:锁定,14:接地")
    @NotNull(message = "挂牌类型不能为空")
    private Integer type;

    @ApiModelProperty(value = "设定值")
    @NotNull(message = "设定值不能为空")
    private Integer val;
}
